package com.heima.model.behavior.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

@Data
public class LikesBehaviorDto {
    @JsonSerialize(using = ToStringSerializer.class)//把当前字段转换为字符串进行响应
    private Long articleId;//文章id

    private Short operation;//0 点赞   1 取消点赞

    private Short type;//0 文章  1 动态   2 评论
}